class CreateResources < ActiveRecord::Migration
    def self.up
        create_table :resources do |t|
            t.column :title, :string
            t.column :upload, :string
            t.column :created_at, :datetime
            t.column :site_id, :integer
        end
    end
    
    def self.down
        drop_table :resources
    end
end